#pragma once

#include <string>
#include "PublicKey.h"

namespace kryptos { namespace cryptography {

class X509Certificate
{
public:

    X509Certificate();
    X509Certificate(const PrivateKey &publicKey);
    virtual ~ X509Certificate();

    std::string string();
    std::string label();
    std::string userName();
    std::string userEmail();

    PublicKey publicKey();

protected:

    PrivateKey m_privateKey;
};
}}
